<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head> 
  <base href="<%=basePath%>">
    
  </head>
  <link  rel="stylesheet" type="text/css" href="../css/1.css"/>
  <body> 
  <div class="dailycontainer">
			<s:form method="POST" action="NewDaily">
				<table width="616" height="273" border="0">
					<tr>
						<td>
							<s:textfield name="newdaily.Title" label="标题"></s:textfield>


						</td>

					</tr>
					<tr>
						<td>

							<s:textarea rows="10" cols="60" name="newdaily.Content"
								label="内容">
							</s:textarea>

						</td>
						<td width="108">
							&nbsp;
						</td>
					</tr>
					<tr>
						<td>
							<s:submit value="发表"></s:submit>
						</td>
						<td>
							&nbsp;
						</td>
					</tr>
				</table>
			</s:form>
		</div>
</body>
</html>
